package io.renren.service;

import io.renren.entity.AppUserEntity;
import io.renren.entity.PointsResult;
import io.renren.po.UserPoints;
import io.renren.vo.RespModel;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Created by ThinkPad on 2018/11/29.
 */
public interface PersonalCenterService {

    PointsResult queryUserPoints(String userid);

    List<Map> queryGoods();

    List<Map> queryPoints(String userid);

    @Transactional
    RespModel updateUserPointByOperation(UserPoints userPoints);

    RespModel upgradeVIp(AppUserEntity appUserEntity);

    Map queryAppUserInfo(String userid);
}
